package com.jctrip.hotel.management.client;

import com.jctrip.hotel.management.model.result.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: ch
 * @CreateTime: 2023/12/25 3:25 PM
 * @Description:
 */
@FeignClient(name = "QunarinClient",url = "${feign.url.qunarin}")
@RequestMapping(headers = {"Content-Type=application/x-www-form-urlencoded"})
public interface QunarinClient {
    @GetMapping("/api/close-any-store/")
    BaseResult closeAnyStore(@RequestParam("wrapperOfflineHour")Integer wrapperOfflineHour ,@RequestParam("signKey")String signKey);
}
